home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / Mesa-1.2.1 / windows / README.WIN < prev    next >
Encoding:
Text File  |  1995-07-05  |  3.1 KB  |  78 lines

  1.                    Notes for the Alpha Windows Mesa Driver
  2.                    ---------------------------------------
  3.                 By: Mark E. Peterson (markp@ic.mankato.mn.us)
  4.  
  5. Introduction
  6. ------------
  7.  
  8. The Windows Mesa driver enables Mesa to run on all 32 bit incarnations of
  9. Microsoft Windows. In addition, a Windows version of the TK package (which
  10. also enables the aux package to function) is also provided. 
  11.  
  12. Both RGB and indexed color models are supported.
  13.  
  14. I term the Windows functionality as "Alpha" because it has not been tested
  15. to my satisfaction yet. Please, feel free to contact me regarding this 
  16. driver. I am also a member of the Mesa mailing list and will respond to 
  17. messages there. 
  18.  
  19. Additional Software
  20. -------------------
  21.  
  22. In order to compile and run Mesa applications you will need the Microsoft
  23. WinG libraries. WinG is a free add-on to Windows that enables fast indexed 
  24. mode graphics programming. You can obtain WinG from the WINMM forum on 
  25. Compuserve or ftp.microsoft.com.
  26.  
  27. If you wish to run Mesa apps on Windows 3.x you will also need to obtain 
  28. Microsofts Win32s extension for Windows. Win32s is freely available many 
  29. places on the Internet and Compuserve.
  30.  
  31. Compiling Mesa and samples
  32. --------------------------
  33.  
  34. The Windows version of Mesa was developed using Symantec C++ 7.0, the 
  35. Symantec projects and makefiles should be included with this distribution.
  36. To compile Mesa for Symantec C++ open and build winmesa.prj, tk.prj, 
  37. glaux.prj, and winglu.prj all found in the \MESA\WINDOWS directory. These
  38. projects will build static libraries which are linked in to the various
  39. demo projects in the same directory.
  40.  
  41. Several (but not all) of the examples that ship with Mesa have been set up
  42. and projects are supplied in this distribution. In general compile the 
  43. samples with the same settings as the libraries. Also if a sample is 
  44. animated you may need to insert a call to InvalidateRect (see 
  45. \mesa\demos\bounce.c). 
  46.  
  47. The following #defines are used to compile the Windows version of Mesa.
  48.  
  49. __WIN32__       - Indicates compilation for 32 bit Windows. 
  50. __SYMANTEC_BUGS - The Symantec compiler appears to dislike files containing
  51.                   only a global variable definition. This define gets us 
  52.                   around this bug. (see dd.c and vb.c)
  53.  
  54. At various times I have also had Mesa compiled with Borland C++ 4.5. For the
  55. libraries, use the target expert to set up a WIN32, static library project.
  56. For the demos use the target expert to set up WIN32 console mode apps.
  57.  
  58. Windows specific source files in the distribution
  59. -------------------------------------------------
  60.  
  61. \mesa\src\wmesa.c
  62. \mesa\include\gl\wmesa.h
  63. \mesa\src-tk\tkwndws.c
  64.  
  65. To Do
  66. -----
  67.  
  68. - Optimize the driver.
  69. - Test
  70. - Produce release versions of the makefiles
  71. - Produce the static libs as DLLs (possibly as drop in replacements for the
  72.   NT OpenGL DLLs ???)
  73. - Set up projects for the rest of the demos.
  74. - Produce profile statistics vs. the NT implementation of GL.
  75. - Look into hardware acceleration (e.g. Matrox Impression, Millenium).
  76.  
  77. 
  78.